package com.bjut.vendormgrsys.web.dto.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.springframework.validation.annotation.Validated;

@Data
@Validated
public class UserChildInfo {

    @JsonProperty("id")
    private String id;

    @Schema(description = "姓名")
    @JsonProperty("name")
    private String name = null;

    @Schema(description = "电话")
    @JsonProperty("phone")
    private String phone = null;

    @JsonProperty("birth")
    private String birth = null;

    @JsonProperty("gender")
    private String gender = null;

    public UserChildInfo() {
    }

    protected boolean canEqual(final Object other) {
        return other instanceof UserChildInfo;
    }

}
